package com.hotleproject.service;

import com.hotleproject.pojo.Order;

import java.util.List;

public interface OrderService {
    int getCount();
    List<Order> pageList(int pageNo, int pageSize);

    int getCountByUser();
    List<Order> findOrderByUser(String username,int pageNo, int pageSize);

    //酒店管理员订单处理
    int getSingleHotleCount();
    List<Order> SingleHotlepageList(String hotlename,int pageNo, int pageSize);
}
